<template>
  <el-tabs v-model="currentTab" class="demo-tabs" @tab-click="handleClick">
    <el-tab-pane label="客户资料" name="field">
      <MesHeader />
      <MesDetail />
      <MesDetail />
    </el-tab-pane>
    <el-tab-pane label="选材意向" name="form" />
  </el-tabs>

</template>
<script setup>
import MesDetail from './MesDetail.vue';
import MesHeader from './MesHeader.vue';
const currentTab = ref('field')

const handleClick = (tab) => {
  console.log(tab, 'dasd');
}
</script>
<style lang="scss">
.demo-tabs>.el-tabs__content {
  padding: 0 10px;
  color: #6b778c;
  font-size: 32px;
  font-weight: 600;
}
</style>
